package com.example.spotitube.Model;

import java.io.Serializable;

public class Track implements Serializable {

	private static final long	serialVersionUID	= 1L;
	private String trackName;
	private String youtubeURL;
	private String encodedSearch;
	private int yearOfRelease;
	private double popularity;
	private int length;
	private String albumName;

	
	public Track(String trackName, int yearOfRelease, double popularity,
			int length, String albumName) {
		this.trackName = trackName;
		this.yearOfRelease = yearOfRelease;
		this.popularity = popularity;
		this.length = length;
		this.albumName = albumName;
	}

	public String getTrackName() {
		return trackName;
	}

	public void setTrackName(String trackName) {
		this.trackName = trackName;
	}

	public int getYearOfRelease() {
		return yearOfRelease;
	}

	public void setYearOfRelease(int yearOfRelease) {
		this.yearOfRelease = yearOfRelease;
	}

	public double getPopularity() {
		return popularity;
	}

	public void setPopularity(double popularity) {
		this.popularity = popularity;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public String getURL() {
		return youtubeURL;
	}

	public void setURL(String youtubeURL) {
		this.youtubeURL = youtubeURL;
	}

	public void setEncodedSearch(String encodedSearch) {
		this.encodedSearch = encodedSearch;
	}

	public String getEncodedSearch() {
		return encodedSearch;
	}

	public String getAlbumName() {
		return albumName;
	}
}
